package com.winshare.saleAssistant.domain.dto.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

@ApiModel
public class AreaRespDTO {

    @ApiModelProperty(value = "主键")
    private Integer id;

    @ApiModelProperty(value = "区域名称")
    private String areaName;

    @ApiModelProperty(value = "父级区域主键")
    private Integer parentAreaId;

    @ApiModelProperty(value = "上级区域名称")
    private String parentAreaName;

    private List<AreaRespDTO> childAreaList;

    public AreaRespDTO() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public Integer getParentAreaId() {
        return parentAreaId;
    }

    public void setParentAreaId(Integer parentAreaId) {
        this.parentAreaId = parentAreaId;
    }

    public String getParentAreaName() {
        return parentAreaName;
    }

    public void setParentAreaName(String parentAreaName) {
        this.parentAreaName = parentAreaName;
    }

    public List<AreaRespDTO> getChildAreaList() {
        return childAreaList;
    }

    public void setChildAreaList(List<AreaRespDTO> childAreaList) {
        this.childAreaList = childAreaList;
    }
}
